﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="RelatedOrganizationsSummary.aspx.cs" Inherits="MLY.Reports.DataReports.RelatedOrganizationsSummary" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title><asp:Literal ID="TitleLiteral" runat="server" Text="<%$ Dict:reportsParams.WorkOrdersByDatesReport %>"></asp:Literal></title>
    
    <link href="/Style/General_Style_v9.css" rel="stylesheet" type="text/css" />
    <link href="../../Style/ReportsStylesheet.css" rel="stylesheet" type="text/css" />
   
    <script src="../../TableSorter/jquery-latest.js" type="text/javascript"></script>
    <script src="../../TableSorter/jquery.tablesorter.js" type="text/javascript"></script>    
</head>
<body>
    <form id="form1" runat="server">
    <div class="InerTextStyle">
    <asp:Panel ID="DirectionPanel" runat="server">
        <asp:Label ID="PageTitleLabel" runat="server" Text='<%$Dict:reportsParams.OrganizationSummaryReport %>'
          CssClass="TitleStyle"></asp:Label>
        <br /><br />
        <asp:Panel ID="DemoPanel" runat="server">
            <div class="democlass">
                The Related Organizations Summary report gives you a list 
                of potential organizations that you can be related to and can do business with. 
            </div>
        </asp:Panel>
        <asp:Label ID="Label1" runat="server" Text='<%$ Dict:Alert.ChooseContractors %>' CssClass="TitleStyle"></asp:Label>
        <asp:GridView ID="ContractorsGrid" runat="server" AutoGenerateColumns="false" CellPadding="5">
        <HeaderStyle CssClass="GridTitleStyle" />
        <Columns>
            <asp:BoundField HeaderText="<%$ Dict:Organizations.OrganizationName %>" DataField="OrganizationName" />
            <asp:BoundField HeaderText="<%$ Dict:Organizations.Address %>" DataField="Address" />
            <asp:BoundField HeaderText="<%$ Dict:Organizations.ContactPerson %>" DataField="ContactPerson" />
            <asp:BoundField HeaderText="<%$ Dict:OrgsGrid.ContactPersonPhone %>" DataField="ContactPersonPhone" />
            <asp:BoundField HeaderText="<%$ Dict:OrgsGrid.ContactPersonEmail %>" DataField="ContactPersonEmail" />
            <asp:BoundField HeaderText="<%$ Dict:OrgsGrid.WebSite %>" DataField="WebSite" />
        </Columns>
                
        </asp:GridView>
        <br /><br />
        <asp:Label ID="CustomersGridTitle" runat="server" Text='<%$ Dict:Alert.ChooseCustomers %>' CssClass="TitleStyle"></asp:Label>
        <asp:GridView ID="CustomersGrid" runat="server" AutoGenerateColumns="false" CellPadding="5">
        <HeaderStyle CssClass="GridTitleStyle" />
        <Columns>
            <asp:BoundField HeaderText="<%$ Dict:Organizations.OrganizationName %>" DataField="OrganizationName" />
            <asp:BoundField HeaderText="<%$ Dict:Organizations.Address %>" DataField="Address" />
            <asp:BoundField HeaderText="<%$ Dict:Organizations.ContactPerson %>" DataField="ContactPerson" />
            <asp:BoundField HeaderText="<%$ Dict:OrgsGrid.ContactPersonPhone %>" DataField="ContactPersonPhone" />
            <asp:BoundField HeaderText="<%$ Dict:OrgsGrid.ContactPersonEmail %>" DataField="ContactPersonEmail" />
            <asp:BoundField HeaderText="<%$ Dict:OrgsGrid.WebSite %>" DataField="WebSite" />
        </Columns>
                
        </asp:GridView>
    </asp:Panel>        
    </div>
    </form>
</body>
</html>
